# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         demo05
# Description:
# Author:       98745
# Date:         2019/3/2
#-------------------------------------------------------------------------------

class mp():
    def me(self):
        return 50
class pc(mp):
    def me1(self):
        print('me1')
class m:
    def me(self):
        return 50
class cc(pc):
    def me2(self):
        print('me2')
print(issubclass(cc,pc))
print(issubclass(cc,m))
print(issubclass(cc,mp))
print(cc.__bases__)
print(pc.__bases__)
c=cc()
print(isinstance(c,cc))
print(isinstance(c,pc))
print(isinstance(c,mp))
print(isinstance(c,m))
